<template>
  <div>
    <div class="check-button" :class="{'check-active':isCheck}">
      <img src="~assets/img/cart/tick.svg" alt />
    </div>
  </div>
</template>

<script>
export default {
  name: "checkButton",
  data() {
    return {};
  },
  props: {
    isCheck: {
      type: Boolean,
      default: true
    }
  }
};
</script>

<style lang="less" scoped>
.check-button {
  position: relative;
  margin: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  img {
  }
}
.check-active {
  background-color: #ff8198;
  border-color: #ff8198;
}
</style>